//获取图形验证码
import http from "./index";

//绘画(MJ)
export function drawMJAdd(data: any) {
    return http.request({
        url: "/draw/mj-add",
        method: "post",
        params: data
    })
}

//绘画图片优化调整(MJ)
export function drawMjModify(data: any) {
    return http.request({
        url: "/draw/mj-modify",
        method: "post",
        params: data
    })
}


//绘画(SD)
export function drawSDAdd(data: any) {
    return http.request({
        url: "/draw/sd-add",
        method: "post",
        params: data
    })
}

//绘画配置列表
export function drawSetting(data: any) {
    return http.request({
        url: "/draw/setting",
        method: "get",
        params: data
    })
}

//提示词分类
export function promptCategory() {
    return http.request({
        url: "/prompt/category",
        method: "get"
    })
}
